import { lazy } from "react";
const Role = lazy(() => import("@/pages/SystemManage/Role/index"));
const PersonalCenter = lazy(() => import("@/pages/SystemManage/PersonalCenter/index"));

const router = [
  {
    path: "/system-manage",
    meta: { name: "系统管理" },
    children: [
      {
        path: "role",
        meta: { name: "角色管理" },
        element: <Role />,
      },
      {
        path: "personal-center",
        meta: { name: "个人中心" },
        element: <PersonalCenter />,
      },
    ],
  },
];

export default router;
